package com.lianzai.mobile.service;

import com.lianzai.mobile.domain.CommunityInfoDO;

import java.util.List;
import java.util.Map;

/**
 * 社区表
 * 
 * @author zb
 * @email 1106900429@qq.com
 * @date 2018-12-16 14:50:17
 */
public interface CommunityInfoService {
	
	CommunityInfoDO get(Integer id);
	
	List<CommunityInfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CommunityInfoDO communityInfo);
	
	int update(CommunityInfoDO communityInfo);

	int updateSyncStatus(CommunityInfoDO communityInfo);

	int syncToLocalSystem(Integer communityId);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	/**
	 * 本地绑定小区操作
	 */
	int updateCommunityRule(Map<String, Object> map);
}
